
// 系统管理模块

const systemRouter = [
	{
		path: "/system",
		component: () => import("@/layouts/index.vue"),
		redirect: "/system/user",
		meta: {
			title: "系统管理",
			icon: "xitongguanli",
		},
		children: [
			{
				path: "/system/user",
				name: "user",
				component: () => import("@/views/system/user/index.vue"),
				meta: {
					keepAlive: true,
					requiresAuth: true,
					title: "用户管理",
					key: "user",
					icon: "yonghuguanli"
				}
			},
			{
				path: "/system/role",
				name: "role",
				component: () => import("@/views/system/role/index.vue"),
				meta: {
					keepAlive: true,
					requiresAuth: true,
					title: "角色管理",
					key: "role",
					icon: "jiaoseguanli"
				}
			},
			{
				path: "/system/dictionary",
				name: "dictionary",
				component: () => import("@/views/system/dictionary/index.vue"),
				meta: {
					keepAlive: true,
					requiresAuth: true,
					title: "字典管理",
					key: "dictionary",
					icon: "zidianguanli",
				}
			}
		]
	}
];

export default systemRouter;
